<?
/**
 * class <b>Hli_BookingRequestType Class</b>
 * Published 21/12/2010 03:45:13
 *
 * The message structure containing booking request information.
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 2.0.4.342.
 * @internal It's not recommended at all to modify this code.
 */
class Hli_BookingRequestType extends Hli_Serializer{
	public $data=array();

   private $__isQuote=false;

   /**
    * Constructor
    */
	public function  __construct(){
		parent::__construct();
	}

   /**
    * Returns true if this is a quote type (for type QuoteRequestType only)
    * @return bool
    */
   public function getIsQuote(){
      return $this->__isQuote;
   }

   /**
    * Sets this object to a quote type (for type QuoteRequestType only)
    *
    * @param bool $is_Quote
    */
   public function setIsQuote($is_Quote){
      $this->__isQuote = $is_Quote;
   }

	/**
    * Gets the external reference code.
    *
	 * @method getExternalReferenceCode
	 * @return string
	 */
	public function getExternalReferenceCode(){
		return($this->data["ExternalReferenceCode"]);
	}
	/**
    * Sets the external reference code.
    *
	 * @method setExternalReferenceCode
	 * @param string $code
	 * @return void
	 */
	public function setExternalReferenceCode($code){
		$this->data["ExternalReferenceCode"]=$code;
	}

	/**
    * Gets the email notification setting
    *
	 * @method getEmailNotification
	 * @return bool
	 */
	public function getEmailNotification(){
		return($this->data["EmailNotification"]);
	}
	/**
    * Sets the email notification setting
    *
	 * @method setEmailNotification
	 * @param bool
	 * @return void
	 */
	public function setEmailNotification($bool){
		$this->data["EmailNotification"]=$bool;
	}

	/**
    * Gets the collection type.
    *
	 * @method getCollection
	 * @return Hli_CollectionType
	 */
	public function getCollection(){
		return($this->data["CollectionType"]);
	}
	/**
    * Sets the collection type.
    *
	 * @method setCollection
	 * @param Hli_CollectionType $collectionObj
	 * @return void
	 */
	public function setCollection(Hli_CollectionType $collectionObj){
		$this->data["CollectionType"]=$collectionObj;
	}

	/**
    * Gets the destination type.
    *
	 * @method getDestination
	 * @return Hli_DestinationType
	 */
	public function getDestination(){
		return($this->data["DestinationType"]);
	}
	/**
    * Sets the destination type.
    *
	 * @method setDestination
	 * @param Hli_DestinationType
	 * @return void
	 */
	public function setDestination(Hli_DestinationType $obj){
		$this->data["DestinationType"]=$obj;
	}

	/**
    * Gets the shipping information.
    *
	 * @method getShippingInformation
	 * @return Hli_ShippingInformationType
	 */
	public function getShippingInformation(){
		return($this->data["ShippingInformationType"]);
	}
	/**
    * Sets the shipping information.
    *
	 * @method setShippingInformation
	 * @param Hli_ShippingInformationType
	 * @return void
	 */
	public function setShippingInformation(Hli_ShippingInformationType $obj){
		$this->data["ShippingInformationType"]=$obj;
//		print("<p>ShippingInformationType.</p>");
//		$obj=$obj->serializeToArray();
//		print("<pre>");
//		print_r($obj);
//		print("</pre>");
	}
}
?>
